package signals;

/**
 * @author Viet / Vincent
 *
 */
public class Hello extends Signal {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String username ;

    /*
     * The Hello class need the username of the sender before it can travel on network
     * @param the username of the sender
     */
    public Hello(String username) {
        this.username = username ;
    }

    /*
     * When you receive a Hello message, it is better to know who send it
     * @ return  the username of the sender
     */
    public String getUsername () {
        return username ;
    }
  
}
